package item.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.Code;

import item.bean.Car;
import item.bean.Check;
import item.bean.Customer;
import item.bean.Rentals;
import item.util.Page;
@Mapper
public interface RentalsDao {
	List<Rentals> getRentals(@Param("rentals")Rentals rentals,@Param("page")Page page);
	int getCount(@Param("rentals")Rentals rentals);
	int addRentalsMes(Rentals rentals);
	int delRentals(int id);
	int deleteRentals(int id);
	int editRentals(Rentals rentals);
	Rentals getRentalsById(int id);
	int editRentalImgByID(Rentals rentals);
	List<Rentals> getCustomerRentalStatusByuserid(Rentals rentals);
	int getLastId();
	int editcode(Code code,int id);
}
